<style>
    .form-search .layui-form-label {
         display: block;
    }
</style>
<form  class="layui-form layui-form-pane form-search" action="/pcs/porter/index" onsubmit="return false" method="get" autocomplete="off">
    <div class="layui-form-item layui-inline">
        <button class='layui-btn layui-btn-sm' data-height="300px" shiro:hasPermission="pcs:porterCredentials:add"  th:attr="data-modal=${'/pcs/porter/credentials/form?porterId=' + porterId}">新增</button>
    </div>
</form>